package cn.gene.timeyan.pojo.coo.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 浜掑姪鎻??璁板綍琛
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hms_apply")
public class ApplyDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="揭榜人ID",required = true)
    private Long userId;

    @ApiModelProperty(value="互助贴ID",required = true)
    @NotNull(message = "不允许为空")
    private Long cooperationId;



}
